#include<bits/stdc++.h>
using namespace std;
typedef long long ll;

int main(){
    ll a=3*5*7*11;
    ll b=13*17*19;
    cout<<a<<endl;
    cout<<b<<endl;
    

    return 0;
}